import request from '@/utils/request.js'
// 获取文章分类列表接口
export const getListAPI = () => request.get('/my/cate/list')
// 新增文章接口
export const addListAPI = obj => request.post('/my/cate/add', obj)
// 修改文章接口
export const updateList = obj => request.put('/my/cate/info', obj)
// 删除接口
export const removeList = id => request.delete('/my/cate/del', { params: { id } })
